package com.example.demo.service.requestRvo;

import com.example.demo.service.requestRvo.annotation.UseField;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@UseField(listName = "SimpleListRVO")
@Data
public class SimpleListRVO {


    @NotBlank(message = "pageNumber不能为空")
    @UseField("页数")
    private Integer pageNumber;

    @NotBlank(message = "pageSize不能为空")
    @UseField("页面大小")
    private Integer pageSize;
}